From be01c537b27616e84d2fa8238c2b7ce60be5a6ef Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 31 Mar 2009 11:13:56 +0100 Subject: [PATCH] xend: fix domain_migrate When the guest(pv-on-hvm guest that cannot suspend) reboot in LiveMigration, the disconnecting of src-side is not transmitted to dist-side. As a result, the error processing on the dist side is not executed. Signed-off-by: Tomonari Horikoshi --- tools/python/xen/xend/XendDomain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index b624f786ad..6cde465559 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -1378,6 +1378,7 @@ class XendDomain: XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst, node=node) finally: + sock.shutdown(socket.SHUT_RDWR) sock.close() def domain_save(self, domid, dst, checkpoint=False): -- 2.30.2